home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
windownt
/
awksrc.zip
/
GAWK-D~1.14
/
GAWK.CP
< prev
next >
Wrap
Text File
|
1993-10-03
|
17KB
|
326 lines
\entry {what is awk}{1}{what is \code {awk}}
\entry {uses of awk}{1}{uses of \code {awk}}
\entry {acronym}{1}{acronym}
\entry {history of awk}{1}{history of \code {awk}}
\entry {manual, using this}{11}{manual, using this}
\entry {using this manual}{11}{using this manual}
\entry {language, awk}{11}{language, \code {awk}}
\entry {program, awk}{11}{program, \code {awk}}
\entry {awk language}{11}{\code {awk} language}
\entry {awk program}{11}{\code {awk} program}
\entry {input file, sample}{11}{input file, sample}
\entry {sample input file}{11}{sample input file}
\entry {BBS-list file}{11}{\file {BBS-list} file}
\entry {inventory-shipped file}{12}{\file {inventory-shipped} file}
\entry {script, definition of}{13}{script, definition of}
\entry {rule, definition of}{13}{rule, definition of}
\entry {program, definition of}{13}{program, definition of}
\entry {basic function of gawk}{13}{basic function of \code {gawk}}
\entry {print $0}{13}{\samp {print $0}}
\entry {action, default}{14}{action, default}
\entry {pattern, default}{14}{pattern, default}
\entry {default action}{14}{default action}
\entry {default pattern}{14}{default pattern}
\entry {how awk works}{14}{how \code {awk} works}
\entry {command line formats}{16}{command line formats}
\entry {running awk programs}{16}{running \code {awk} programs}
\entry {single quotes, why needed}{17}{single quotes, why needed}
\entry {standard input}{17}{standard input}
\entry {input, standard}{17}{input, standard}
\entry {case sensitivity}{18}{case sensitivity}
\entry {pattern, case sensitive}{18}{pattern, case sensitive}
\entry {running long programs}{18}{running long programs}
\entry {-f option}{18}{\samp {-f} option}
\entry {program file}{18}{program file}
\entry {file, awk program}{18}{file, \code {awk} program}
\entry {executable scripts}{19}{executable scripts}
\entry {scripts, executable}{19}{scripts, executable}
\entry {self contained programs}{19}{self contained programs}
\entry {program, self contained}{19}{program, self contained}
\entry {#!}{19}{\samp {#!}}
\entry {shell scripts}{20}{shell scripts}
\entry {scripts, shell}{20}{scripts, shell}
\entry {#}{20}{\samp {#}}
\entry {comments}{20}{comments}
\entry {use of comments}{20}{use of comments}
\entry {documenting awk programs}{20}{documenting \code {awk} programs}
\entry {programs, documenting}{20}{programs, documenting}
\entry {backslash continuation}{21}{backslash continuation}
\entry {continuation of lines}{21}{continuation of lines}
\entry {multiple statements on one line}{22}{multiple statements on one line}
\entry {when to use awk}{22}{when to use \code {awk}}
\entry {applications of awk}{22}{applications of \code {awk}}
\entry {reading files}{25}{reading files}
\entry {input}{25}{input}
\entry {standard input}{25}{standard input}
\entry {FILENAME}{25}{\code {FILENAME}}
\entry {record separator}{25}{record separator}
\entry {changing the record separator}{25}{changing the record separator}
\entry {RS}{25}{\code {RS}}
\entry {number of records, NR or FNR}{26}{number of records, \code {NR} or \code {FNR}}
\entry {NR}{26}{\code {NR}}
\entry {FNR}{26}{\code {FNR}}
\entry {examining fields}{26}{examining fields}
\entry {fields}{26}{fields}
\entry {accessing fields}{26}{accessing fields}
\entry {$ (field operator)}{27}{\code {$} (field operator)}
\entry {operators, $}{27}{operators, \code {$}}
\entry {NF}{27}{\code {NF}}
\entry {number of fields, NF}{27}{number of fields, \code {NF}}
\entry {field, changing contents of}{29}{field, changing contents of}
\entry {changing contents of a field}{29}{changing contents of a field}
\entry {assignment to fields}{29}{assignment to fields}
\entry {FS}{30}{\code {FS}}
\entry {fields, separating}{30}{fields, separating}
\entry {field separator, FS}{30}{field separator, \code {FS}}
\entry {-F option}{30}{\samp {-F} option}
\entry {field separator, choice of}{31}{field separator, choice of}
\entry {regular expressions as field separators}{31}{regular expressions as field separators}
\entry {field separator: on command line}{32}{field separator: on command line}
\entry {command line, setting FS on}{32}{command line, setting \code {FS} on}
\entry {multiple line records}{37}{multiple line records}
\entry {input, multiple line records}{37}{input, multiple line records}
\entry {reading files, multiple line records}{37}{reading files, multiple line records}
\entry {records, multiple line}{37}{records, multiple line}
\entry {getline}{38}{\code {getline}}
\entry {input, explicit}{38}{input, explicit}
\entry {explicit input}{38}{explicit input}
\entry {input, getline command}{38}{input, \code {getline} command}
\entry {reading files, getline command}{38}{reading files, \code {getline} command}
\entry {input redirection}{40}{input redirection}
\entry {redirection of input}{40}{redirection of input}
\entry {closing input files and pipes}{43}{closing input files and pipes}
\entry {close}{43}{\code {close}}
\entry {printing}{45}{printing}
\entry {output}{45}{output}
\entry {print statement}{45}{\code {print} statement}
\entry {output field separator, OFS}{47}{output field separator, \code {OFS}}
\entry {OFS}{47}{\code {OFS}}
\entry {ORS}{47}{\code {ORS}}
\entry {output record separator, ORS}{47}{output record separator, \code {ORS}}
\entry {OFMT}{48}{\code {OFMT}}
\entry {formatted output}{49}{formatted output}
\entry {output, formatted}{49}{output, formatted}
\entry {printf statement, syntax of}{49}{\code {printf} statement, syntax of}
\entry {format string}{49}{format string}
\entry {printf, format-control characters}{49}{\code {printf}, format-control characters}
\entry {format specifier}{49}{format specifier}
\entry {printf, modifiers}{50}{\code {printf}, modifiers}
\entry {modifiers (in format specifiers)}{50}{modifiers (in format specifiers)}
\entry {output redirection}{53}{output redirection}
\entry {redirection of output}{53}{redirection of output}
\entry {pipes for output}{54}{pipes for output}
\entry {output, piping}{54}{output, piping}
\entry {closing output files and pipes}{55}{closing output files and pipes}
\entry {close}{55}{\code {close}}
\entry {standard input}{56}{standard input}
\entry {standard output}{56}{standard output}
\entry {standard error output}{56}{standard error output}
\entry {file descriptors}{56}{file descriptors}
\entry {differences: gawk and awk}{56}{differences: \code {gawk} and \code {awk}}
\entry {/dev/stdin}{57}{\file {/dev/stdin}}
\entry {/dev/stdout}{57}{\file {/dev/stdout}}
\entry {/dev/stderr}{57}{\file {/dev/stderr}}
\entry {/dev/fd/}{57}{\file {/dev/fd/}}
\entry {one-liners}{59}{one-liners}
\entry {pattern, definition of}{61}{pattern, definition of}
\entry {patterns, types of}{61}{patterns, types of}
\entry {pattern, regular expressions}{61}{pattern, regular expressions}
\entry {regexp}{61}{regexp}
\entry {regular expressions as patterns}{61}{regular expressions as patterns}
\entry {regular expression matching operators}{62}{regular expression matching operators}
\entry {string-matching operators}{62}{string-matching operators}
\entry {operators, string-matching}{62}{operators, string-matching}
\entry {operators, regexp matching}{62}{operators, regexp matching}
\entry {regexp search operators}{62}{regexp search operators}
\entry {computed regular expressions}{62}{computed regular expressions}
\entry {regular expressions, computed}{62}{regular expressions, computed}
\entry {dynamic regular expressions}{62}{dynamic regular expressions}
\entry {metacharacters}{63}{metacharacters}
\entry {regular expression metacharacters}{63}{regular expression metacharacters}
\entry {comparison expressions as patterns}{66}{comparison expressions as patterns}
\entry {pattern, comparison expressions}{66}{pattern, comparison expressions}
\entry {relational operators}{66}{relational operators}
\entry {operators, relational}{66}{operators, relational}
\entry {patterns, boolean}{67}{patterns, boolean}
\entry {boolean patterns}{67}{boolean patterns}
\entry {range pattern}{69}{range pattern}
\entry {patterns, range}{69}{patterns, range}
\entry {BEGIN special pattern}{69}{\code {BEGIN} special pattern}
\entry {patterns, BEGIN}{69}{patterns, \code {BEGIN}}
\entry {END special pattern}{69}{\code {END} special pattern}
\entry {patterns, END}{69}{patterns, \code {END}}
\entry {empty pattern}{70}{empty pattern}
\entry {pattern, empty}{70}{pattern, empty}
\entry {action, definition of}{73}{action, definition of}
\entry {curly braces}{73}{curly braces}
\entry {action, curly braces}{73}{action, curly braces}
\entry {action, separating statements}{73}{action, separating statements}
\entry {expression}{75}{expression}
\entry {constants, types of}{75}{constants, types of}
\entry {string constants}{75}{string constants}
\entry {numeric constant}{75}{numeric constant}
\entry {numeric value}{75}{numeric value}
\entry {differences between gawk and awk}{75}{differences between \code {gawk} and \code {awk}}
\entry {escape sequence notation}{75}{escape sequence notation}
\entry {variables, user-defined}{78}{variables, user-defined}
\entry {user-defined variables}{78}{user-defined variables}
\entry {arithmetic operators}{79}{arithmetic operators}
\entry {operators, arithmetic}{79}{operators, arithmetic}
\entry {addition}{79}{addition}
\entry {subtraction}{79}{subtraction}
\entry {multiplication}{79}{multiplication}
\entry {division}{79}{division}
\entry {remainder}{79}{remainder}
\entry {quotient}{79}{quotient}
\entry {exponentiation}{79}{exponentiation}
\entry {differences between gawk and awk}{80}{differences between \code {gawk} and \code {awk}}
\entry {string operators}{80}{string operators}
\entry {operators, string}{80}{operators, string}
\entry {concatenation}{80}{concatenation}
\entry {comparison expressions}{81}{comparison expressions}
\entry {expressions, comparison}{81}{expressions, comparison}
\entry {relational operators}{81}{relational operators}
\entry {operators, relational}{81}{operators, relational}
\entry {regexp operators}{81}{regexp operators}
\entry {CONVFMT}{82}{\code {CONVFMT}}
\entry {regexp as expression}{83}{regexp as expression}
\entry {expressions, boolean}{83}{expressions, boolean}
\entry {boolean expressions}{83}{boolean expressions}
\entry {operators, boolean}{83}{operators, boolean}
\entry {boolean operators}{83}{boolean operators}
\entry {logical operations}{83}{logical operations}
\entry {and operator}{83}{and operator}
\entry {or operator}{83}{or operator}
\entry {not operator}{83}{not operator}
\entry {assignment operators}{84}{assignment operators}
\entry {operators, assignment}{84}{operators, assignment}
\entry {expressions, assignment}{84}{expressions, assignment}
\entry {side effect}{85}{side effect}
\entry {lvalue}{85}{lvalue}
\entry {increment operators}{87}{increment operators}
\entry {operators, increment}{87}{operators, increment}
\entry {conversion of strings and numbers}{88}{conversion of strings and numbers}
\entry {CONVFMT}{88}{\code {CONVFMT}}
\entry {OFMT}{89}{\code {OFMT}}
\entry {conversion of strings and numbers}{89}{conversion of strings and numbers}
\entry {conditional expression}{91}{conditional expression}
\entry {expression, conditional}{91}{expression, conditional}
\entry {function call}{91}{function call}
\entry {calling a function}{91}{calling a function}
\entry {arguments in function call}{92}{arguments in function call}
\entry {precedence}{93}{precedence}
\entry {operator precedence}{93}{operator precedence}
\entry {control statement}{95}{control statement}
\entry {if statement}{95}{\code {if} statement}
\entry {while statement}{96}{\code {while} statement}
\entry {loop}{96}{loop}
\entry {body of a loop}{96}{body of a loop}
\entry {for statement}{98}{\code {for} statement}
\entry {break statement}{99}{\code {break} statement}
\entry {loops, exiting}{99}{loops, exiting}
\entry {continue statement}{100}{\code {continue} statement}
\entry {next statement}{102}{\code {next} statement}
\entry {next file statement}{103}{\code {next file} statement}
\entry {exit statement}{104}{\code {exit} statement}
\entry {arrays}{107}{arrays}
\entry {arrays, definition of}{107}{arrays, definition of}
\entry {associative arrays}{107}{associative arrays}
\entry {array reference}{109}{array reference}
\entry {element of array}{109}{element of array}
\entry {reference to array}{109}{reference to array}
\entry {arrays, presence of elements}{109}{arrays, presence of elements}
\entry {array assignment}{110}{array assignment}
\entry {element assignment}{110}{element assignment}
\entry {for (x in ...{})}{111}{\code {for (x in \dots {})}}
\entry {arrays, special for statement}{111}{arrays, special \code {for} statement}
\entry {scanning an array}{111}{scanning an array}
\entry {delete statement}{112}{\code {delete} statement}
\entry {deleting elements of arrays}{112}{deleting elements of arrays}
\entry {removing elements of arrays}{112}{removing elements of arrays}
\entry {arrays, deleting an element}{112}{arrays, deleting an element}
\entry {conversions, during subscripting}{113}{conversions, during subscripting}
\entry {numbers, used as subscripts}{113}{numbers, used as subscripts}
\entry {CONVFMT}{113}{\code {CONVFMT}}
\entry {subscripts in arrays}{114}{subscripts in arrays}
\entry {arrays, multi-dimensional subscripts}{114}{arrays, multi-dimensional subscripts}
\entry {multi-dimensional subscripts}{114}{multi-dimensional subscripts}
\entry {SUBSEP}{114}{\code {SUBSEP}}
\entry {built-in functions}{117}{built-in functions}
\entry {match}{119}{\code {match}}
\entry {length}{119}{\code {length}}
\entry {match}{119}{\code {match}}
\entry {RSTART}{119}{\code {RSTART}}
\entry {RLENGTH}{119}{\code {RLENGTH}}
\entry {split}{120}{\code {split}}
\entry {sprintf}{120}{\code {sprintf}}
\entry {sub}{121}{\code {sub}}
\entry {gsub}{122}{\code {gsub}}
\entry {substr}{122}{\code {substr}}
\entry {tolower}{122}{\code {tolower}}
\entry {toupper}{122}{\code {toupper}}
\entry {system}{123}{\code {system}}
\entry {interaction, awk and other programs}{123}{interaction, \code {awk} and other programs}
\entry {flushing buffers}{123}{flushing buffers}
\entry {buffers, flushing}{123}{buffers, flushing}
\entry {buffering output}{123}{buffering output}
\entry {output, buffering}{123}{output, buffering}
\entry {time stamps}{124}{time stamps}
\entry {time of day}{124}{time of day}
\entry {systime}{124}{\code {systime}}
\entry {strftime}{124}{\code {strftime}}
\entry {user-defined functions}{129}{user-defined functions}
\entry {functions, user-defined}{129}{functions, user-defined}
\entry {defining functions}{129}{defining functions}
\entry {function definition}{129}{function definition}
\entry {call by value}{132}{call by value}
\entry {call by reference}{133}{call by reference}
\entry {return statement}{133}{\code {return} statement}
\entry {built-in variables}{137}{built-in variables}
\entry {built-in variables, user modifiable}{137}{built-in variables, user modifiable}
\entry {CONVFMT}{137}{\code {CONVFMT}}
\entry {FIELDWIDTHS}{137}{\code {FIELDWIDTHS}}
\entry {FS}{137}{\code {FS}}
\entry {IGNORECASE}{138}{\code {IGNORECASE}}
\entry {OFMT}{138}{\code {OFMT}}
\entry {OFS}{138}{\code {OFS}}
\entry {ORS}{138}{\code {ORS}}
\entry {RS}{138}{\code {RS}}
\entry {SUBSEP}{138}{\code {SUBSEP}}
\entry {ARGC}{139}{\code {ARGC}}
\entry {ARGV}{139}{\code {ARGV}}
\entry {ENVIRON}{139}{\code {ENVIRON}}
\entry {FILENAME}{139}{\code {FILENAME}}
\entry {FNR}{140}{\code {FNR}}
\entry {NF}{140}{\code {NF}}
\entry {NR}{140}{\code {NR}}
\entry {RLENGTH}{140}{\code {RLENGTH}}
\entry {RSTART}{140}{\code {RSTART}}
\entry {command line}{141}{command line}
\entry {invocation of gawk}{141}{invocation of \code {gawk}}
\entry {arguments, command line}{141}{arguments, command line}
\entry {options, command line}{141}{options, command line}
\entry {-v option}{141}{\samp {-v} option}
\entry {-W option}{141}{\samp {-W} option}
\entry {ARGV}{143}{\code {ARGV}}
\entry {multiple passes over data}{144}{multiple passes over data}
\entry {passes, multiple}{144}{passes, multiple}
\entry {AWKPATH environment variable}{144}{\code {AWKPATH} environment variable}
\entry {search path}{144}{search path}
\entry {directory search}{144}{directory search}
\entry {path, search}{144}{path, search}
\entry {differences between gawk and awk}{144}{differences between \code {gawk} and \code {awk}}
\entry {deprecated options}{145}{deprecated options}
\entry {obsolete options}{145}{obsolete options}
\entry {deprecated features}{145}{deprecated features}
\entry {obsolete features}{145}{obsolete features}
\entry {getting gawk}{151}{getting gawk}
\entry {anonymous ftp}{151}{anonymous ftp}
\entry {anonymous uucp}{151}{anonymous uucp}
\entry {ftp, anonymous}{151}{ftp, anonymous}
\entry {uucp, anonymous}{151}{uucp, anonymous}
\entry {installation, unix}{153}{installation, unix}
\entry {installation, vms}{156}{installation, vms}
\entry {installation, ms-dos}{159}{installation, ms-dos}
\entry {installation, atari}{159}{installation, atari}